projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
186ed56
)
fix booboo caught by clang (#1386)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Tue, 19 Nov 2024 03:11:14 +0000
(20:11 -0700)
committer
GitHub
<noreply@github.com>
Tue, 19 Nov 2024 03:11:14 +0000
(20:11 -0700)
gui/gmapdlg.cc
patch
|
blob
|
history
diff --git
a/gui/gmapdlg.cc
b/gui/gmapdlg.cc
index ee17d8da585b3ab8d64dc109f49a8bfb9e3a16c1..764ce8c7eb28d1ba6f6e6df14911f21e8eb3e2ab 100644
(file)
--- a/
gui/gmapdlg.cc
+++ b/
gui/gmapdlg.cc
@@
-362,7
+362,7
@@
void GMapDialog::showOnlyThis(QStandardItem* top, int menuRow)
mapWidget_->panTo(gpx_.getWaypoints().at(menuRow).getLocation());
} else if (top == trkItem_) {
mapWidget_->frameTrack(menuRow);
- } else if (top = rteItem_) {
+ } else if (top =
=
rteItem_) {
mapWidget_->frameRoute(menuRow);
}
for (int row = 0; row < top->rowCount(); ++row) {